/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class SqReasonEnum extends StringEnum
{
    public static final String ADDNEW_VALUE = "10";
    public static final String SCRAP_VALUE = "20";

    public static final SqReasonEnum addnew = new SqReasonEnum("addnew", ADDNEW_VALUE);
    public static final SqReasonEnum scrap = new SqReasonEnum("scrap", SCRAP_VALUE);

    /**
     * construct function
     * @param String sqReasonEnum
     */
    private SqReasonEnum(String name, String sqReasonEnum)
    {
        super(name, sqReasonEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SqReasonEnum getEnum(String sqReasonEnum)
    {
        return (SqReasonEnum)getEnum(SqReasonEnum.class, sqReasonEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SqReasonEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SqReasonEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SqReasonEnum.class);
    }
}